package com.zhangtai.modules.entity.employee;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


/**
 *
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-12-15 17:01:39
 */
@Data
@TableName("tb_employee_overwork_sub_odd")
public class EmployeeOverworkSubOddEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    /**
     * 删除标识符 0未删除 1已删除
     */
    private Integer isDelete;
    /**
     * 加班申请id
     */
    private Long teooId;
    /**
     * 员工id
     */
    @ApiModelProperty("加班人工号 ")
    private String userId;
    /**
     * 员工姓名
     */
    @ApiModelProperty("加班人姓名")
    private String userName;
    /**
     * 部门id
     */
    private Long unitId;
    /**
     * 部门名称
     */
    @ApiModelProperty("部门名称")
    private String unitName;
    /**
     * 公司id
     */
    private Long orgId;
    /**
     * 公司名称
     */
    @ApiModelProperty("公司名称")
    private String orgName;
    /**
     * bpm回调
     */
    private String checkUrl;
    /**
     *
     */
    private Long oid;
    /**
     * 加班时长
     */
    @ApiModelProperty("加班时长")
    private BigDecimal longOverwork;
    /**
     *
     */
    @ApiModelProperty("加班说明")
    private String remark;

}
